﻿using Approve.Web.Models.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Approve.Web.Areas.api.Controllers
{
    public class TestController : ApiController
    {
        [HttpGet]
        public ApproveResponse Index()
        {
            var json = new
            {
                Success = true
            };
            throw new Exception("error");
            return ApproveResponse.Format(json);
        }
    }
}
